Fedora Bible 2011 Edition by Christopher Negus & Eric Foster-Johnson
Author:Christopher Negus & Eric Foster-Johnson
Language: eng
Format: epub
Publisher: Wiley
Published: 2011-03-09T16:00:00+00:00
In this manner, /etc/rc0.d/K05atd, /etc/rc1.d/K05atd, /etc/rc2.d/K05atd, /etc/rc3.d/S95atd, /etc/rc4.d/S95atd, /etc/rc5.d/S95atd, and /etc/rc6.d/K05atd are all symbolic links to /etc/init.d/atd. Using this simple, consistent mechanism, you can customize which programs are started at boot time.
Understanding what startup scripts do
Despite all the complicated rcXs, Ss, and Ks, the form of each startup script is really quite simple. Because they are in plain text, you can just open one with a text editor to see what it does. For the most part, a run-level script can be run with a start option, a stop option, and possibly a restart option. For example, the following lines are part of the contents of the smb script, defining what happens when the script is run with different options to start or stop the Samba file and print service:
#!/bin/sh
#
# chkconfig: - 91 35
# description: Starts and stops the Samba smbd daemon \
# used to provide SMB network services.
.
.
.
start() {
KIND="SMB"
echo -n $"Starting $KIND services:"
daemon smbd $SMBDOPTIONS
RETVAL=$?
echo
[ $RETVAL -eq 0] && touch /var/lock/subsys/smb || \
RETVAL=1
return $RETVAL
}
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7788)
Filmora Efficient Editing by Alexander Zacharias(6056)
The Infinite Retina by Robert Scoble Irena Cronin(5525)
Learn Wireshark - Fundamentals of Wireshark. by Lisa Bock(4120)
Linux Device Driver Development Cookbook by Rodolfo Giometti(3956)
Edit Like a Pro with iMovie by Regit(3563)
Linux Administration Best Practices by Scott Alan Miller(2874)
Linux Command Line and Shell Scripting Techniques by Vedran Dakic & Jasmin Redzepagic(2853)
Mastering PowerShell Scripting - Fourth Edition by Chris Dent(2535)
MCSA Windows Server 2016 Study Guide: Exam 70-740 by William Panek(2533)
Creative Projects for Rust Programmers by Carlo Milanesi(2370)
Docker on Windows by Stoneman Elton(2332)
Kali Linux - An Ethical Hacker's Cookbook: End-to-end penetration testing solutions by Sharma Himanshu(2320)
Hands-On AWS Penetration Testing with Kali Linux by Karl Gilbert(2120)
Hands-On Linux for Architects by Denis Salamanca(2073)
Computers For Seniors For Dummies by Nancy C. Muir(2023)
Programming in C (4th Edition) (Developer's Library) by Stephen G. Kochan(2021)
The Old New Thing by Raymond Chen(1950)
Linux Kernel Debugging by Kaiwan N Billimoria(1779)
